add notes from lecture 12