exercises from chapter 6