removed unused argument for print-only mode