worked on midterm