updated Lecture 1