Updating lecture 3