notes from chapter 5 lecture 595844