small refactoring
configure generators