why not just pass in a random function?