problem 7 solved