problem 8 complete