changed seed method