Inline function and remove m// for speed