BFS works now