Problem 1 solved
Problem 2 solved.