completed problem 16