bfs has its own module