Lecture 6 almost done