completed chapter 6 exercises