Lecture 5 and typos in lecture 1