why did you not initialize BATCH and MINI_BATCH as you did above? :)