Updated chapter 4