problem 9 solved