solve exercise 23.08