use and explicit RNG when using a range