solve exercise 21.03