completed problem 12