completed chapter 8 exercises