problem3 solved