chapter 5 and part of chapter 6