minor design fixed
extracting partial for appointments