added AddArc. All compile