Exercise from chapter 9 complete.