finished chapter 7 exercises