Work with batch