ticket creation and displaying