formatting of printed output