updated bfs_functor.html