added lecture 21 material