format the output.