updating lecture 1-3