added seed regeneration