add batch loading