working through ex chapter 10