added method barcode