solve exercise 27.02