added Exercise 3;