refactor for no seed file