exercises from chapter 8