derek's function and more calendar events