updated chapter 4