small changes and files for chapter 12