problem 6 completed