code files for chapter 1 and former chapter 2