Simplified commenting code for chapter 6