Building a random generation Oracle