add instrumentation util