working on appointment crashing