Added lost-ticket-f function.