Updated notes for lecture 10