adds check for open appointment times