updated notes for lecture 10