Small code sample of a ticketing system.