rand and rand-int

with a twist.