Complete problem 10