implemented dont/printToFile, dont/printToTerminal