better outputting of trace results