finishing exercises from chapter 8