add random seed while begin call it