added more definitions to chapter 3