expose ms & batch