finish exercises in chapter 8