complete problem 5