Working on Returning Ticket
Added getTicket function