custom cookies and manipulated randomness