added notes for midterm