complete chapter 7 exercises (but not ideal)