Solved problem 15, 16