working on chapter 6