added curves and attributesd fo curveRadius and curveMode