additions to appointmenteditor