lecture 2 finished