code and assets for chapter 3