Reimplement random number generation (RNG) for fairness