final update to week07-midterm