Use the batch api seamlessly