moved some stuff to cookies