a task bfs again