Inline function in dataBind fn