draft of lecture note 3