cookies defined in main