lecture 2 updated