start to add a global lock system so we can have an effective leader who will managing scaling