fixed the formatting of the output