Fixed randomness in code.