added scan form method for batches