added Exercise 4