use redback for locking