simplified lecture 1