initial chapter 12 code.