Well as far as I see, they are both needed. If the SuccessRate is not high enough there is no need to run the rest of this code either.