adding midterm