changed formatting of ouput