writing features arcs and weights