working on batch