Add ranged random number generator.