exercise 2.9 completed