more conservative in value inline function approach