solved problem 11