bfs
cleanup