lecture 2-4