problem 8
problem 9, problem 10