add random

to add srandom to set seed