using batch