modified GBBatch to match HGO (long)