starting problem 7
problem 7