change a inline function