underlying operation

seams lock logic not correct, should be corrected.