completed problem 11