refactoring of seeds