edited first part of chapter 8