added in arcs and toggle for direction