finish the training