framework with cc pr and bfs