improved data output formatting