Removed dfsTraverse