finally done, now locked keys disappear; COMPILES:TESTED