terminal 1 - PRNG