Lecture 6 notes