wrote lecture 3