drawCalendar function development