reformatted outputting data