problem 7 done
problem 8 completed