added formatting to console output