model ticket handler