fix chapter 4 syntax