problem 8 solved