adding toString(); removing GregorianCalendar; removing errors and alerts attributes