done parts of chapter 4