Before pulling appointment code out