rewrote calendarservice