partial notes for lec 4