add batch query function