worked on SimpleCurve