improve TRACE output
add trace output