updated chapter 3