got rid of path2 in graph