needed for modlock