First draft of lecture notes 16.