Adding to BFS