week 9 and midterm exam