simplify createBatch mixin