added lecture 8 material