finished bfs, now web stuff