New batch api

Trying this out - in any case, should be able to see the changes.