make the calender optional