arleady invoked srand

need to invoke srand only one time in the proc.