Removed isAvaliable function, added initCalendar function