formated output to console