Use mCalendar instead of calendar var