exercise 2.13 completed