attempting to properly assign batch number