solve exercise 36.01