midterm work