Week 4, lecture 4 notes