lecture 10 updated