Updated lecture 1