problem 4
problem 5