Exercise 6 added and completed