before making perplock a lib feature