console output formatting