solve exercise 19.11