write instrumentation