problem 4 solved