debugged calendar