problem 2 solved
problem 3 solved