working on the midterm