BFS working as fuck