merging the calendar