added lecture 6 material