added chapter 12 stuff