solved problem 28