proper cookie evaluation