lecture for berkeley edited.pdf