adding some tracing