remove not needed static quantifier in getCalendar and add logging