use our own Rand() (thanks to tip from kortschak)