solved problem 20