notes for midterm