Completed lecture 2