finished draft of lecture 6