restore random seed method #29