added seed generator