worked some more on chapter 2