Breaking up seed.py into smaller functions for sanity