added concurrency check for employees too