reworking locks