add setting for curve type