adding some tracing messages