renaming FloatFunction to Function[float]