frunction call: context.object replaced with objCurve