problem 3 complete