The cookie method