So THATs how those ticket machines work