cleaned up Barcode.py