Coding chapter 6 section 6.4