renamed from code to barcode