Added ticket-disabling function