added Exercise 9;