A simple ticket system