added lecture 7