added support for multiple calendars and teams