exercise 1.12 completed