removed unused lock