added batch fetching