draft for 2nd assignment