added tracing macro