created the ticket view