Homework submission for chapter 8