Almost done with chapter 9 exercises