reformatted the output