moving it for LockManager