Adding undirected the right way