solved problem 226