adds breadth first