solve exercise 41.01