lecture 6-7