What if I change `rndInterval()` to also generate other types of intervals?