Problem 1 solved