better way to identify conflicting appointments