tickets() is now a recursice function for fetching all the tickets