base for Generator;