added trace output
added trace output