chapter 9 w/ errors