made changes to output format