doing ticket cookie