all working, exercise 6 complete