reformat output

Changed String function to improve output readability.