reread chapter 8, fixed typos and reformulated for better reading flow