notes for lecture 5