nested batch support