added appointmentsView stuff