solved problem 179