implemented RNG for notification tokens