complete problem 4