Update for chapter 4