Added DFS, not sure if working