update exercise 4