updated lec3.pdf