lec 8 notes