adding arcs demonstration