update exercise 7