added lecture 18 material