updates for lecture 3