working on chapter 5