changes to exercise 8