fetch multiple compounds using batch method