add finishAll method.