added mock method to implement batch loader