rework myAppointmentClass