added seed method