committing before auding api_barcode -- complete re-write