adding methods to be instrumented