provide a callback for when we're done