seeds refactoring