added curveTracer2