Exercise 1.6 completed