use finish not end