chapter 6, almost completed