for midterm