set up seed method