id instead date to barcode