minor for batch stuff