First draft of lecture 2