implement batch fetch with mongo