lecture 3 updated