Converted unordered batch to prototype