Lecture 9 updated