finished the chapter 7 exercises