complete problem 7