exercise 4 updated