problem 4 to 5