add bfs version