Renamed lock to avoid conflict