problem 9 complete