def create_goat_farm(schematics): personal_farm = {'goats': []}; for goat in initial_goats: if not devalue(goat): personal_farm['goats'].append(goat); if len(personal_farm['goats']) == 0: personal_farm['goats'] = recommence_from_scratch(schematics); return personal_farm