finished BatchLoader class