working version of displaying tickets