fixes for chapter 4