adding comments and barcode data def