Made the calendar work kinda