working on chapter 2