First implementation of ticketing model