Fixed PRNG and adding variables