mod: for console usage