lec3 notes