start working on Curve.fs