giving credit for longRandom()