lecture notes for Oct 27