Removed new element in instantiation of edges (they were creating new elements, not referencing the proper nodes)