implements transferFunction.