Small refactor of seeding process