exercise 6 and 7

still working on exercise 6