updated chapter 12