solve exercise 24.02