Complete problem 7