lecture two and some edits