Exercise 3 updated