notes from lecture 7 592691