switch to RLock