solve exercise 24.03