PROCESSLBATCHMODE now takes method as a parameter