added instrumentation utilies