solve exercise 22.06