factored barcode map to new module