updated controller for ticket number