updates to lecture 4, started lecture5