chapter 2 initial version