got calendar to work with callbacks