Notes for chapters 5, 6, 7