revision for midterm three 8781106