exercise 1.23 completed