finished chapter 10, one exercise in chapter 9 still to do