finished rewriting 5th chapter