wrapping up problem 1, preparing to start problem 2