update exercise 9