batch codes