store the generated random for later use