before the calendar.class.php