Slight refactor in seed