update merged chapter 01 from jcouyang's repo