Most of chapter 3.