adding more functions to get tickets.