small refactoring of seeds