adding tracing