Change parameter from appointments to appointment