edit exercise 16.22