add BFS version