notes from lecture 07