adding barcode1D class