Add TicketField structure
Extract getCollection function