problem 2 beginning