Updating chapter 2 example code.