added credits for midterm