formatting of output