add declarativeCurve