changed GetTotalTrials() -> GetRemainingTrials()