add idiot function to generate a random an in value