added midterm work