rename instrumentStub to instrumentData
function declarations added