created class for barcodes