update for chapter 9