added Exercise 6;