problem 3 completed