more work on chapter 2