In case rng (range) does not exists, check that.