rename ticketNumber function to prevent clash