integrate with the COOKIES