solve exercise 24.01