refactors seed file