Updated Lecture 4