added tracing/debug info