improved the output of 'format'