added upto lecture 7