solved problem 19.