notes from lecture 23