cookie improvement