first couple of chapter 6 exercises