updated chapter 16 to work with CanaryMod