Ticket array working
Added controller