attempt at q3, chapter 10