finished exercises in chapter 7