Exercise 1.2 completed