Restored inline function