updates to how nodes and arcs are handled
additional changes