change from cookie to div