add notes in lecture 17