notes for lecture 1497