finished text of chapter 7
fix function name
finished chapter 7