Completed chapter 8 task C