remainingFn finished