add functions to process and display a list of calendar events