console formatting