add barcode generator for testing