solved problem 20
solved problem 15