Creating and defining Control Number Generators