problem 7
problem8
problem10