made changes to NewAppointment