implement pending appointments