midterm notes