accept callback for "all done"