added lecture 7 material