updated lecture 1