notes from lecture 2 31610