Initial commit for chapter 4