Instrumented code