adding in chapter 6 stuff