{
  private void setup(Map attributes)  {    init();    // do we have a Random or SecureRandom, or should we use our own?    Object obj = attributes.get(SOURCE_OF_RANDOMNESS);    if (obj instanceof Random)      {        rnd = (Random) obj;      }    else if (obj instanceof IRandom)      {        irnd = (IRandom) obj;      }  }