Change function name WFS to BFS