Problem 4 solved. Finally.