added cookies to prevent repeat viewings