Starts chapter 10 code