format output.