adding appointment leads to index

adding appointment leads to index