exercise 5.24