added lecture 12 material