added new sections to lecture 2c