Ticket.php working