make cookie generation dependent on futuristic make_cookie