add midterm part