finished example code and MM for section 4, chapter7