updated chapter 8