finished chapter 10 exercises