added trigger batch generator