Ticket functions working.