exercise 12-7 complete