removed debug, changed coin rng