lecture 18 notes