notes from lecture 9007816