updated chapter 7