exercise 1.10 completed