working on chapter 4