update exercise 3