Working on lecture 3