lecture 7 notes