solve exercise 35.01