formatting console output