exercise 16-18 of 2.2