problem 6
problem 7
problem 8