use drand48 et al. instead of random