BFS implemented
control module