Lecture 2B complete