made cookies more generic