Lecture 4 notes