exercise 9 now works!!