also use pid when initializing rand48