Implemented concurrency control