adding chapter 10 to homework 7