notes from lecture 24