add nextInt operation to rng