random seed added for the gen-level mixing