made enumerable bfs