public int random(int pMax) {
   return randGen.random(pMax);
 }
 public double random() {
   return randGen.random();
 }