new structure in barcode-server.cc