fix chapter 3 final