changed the batch for waits