moving of GC help to end of batch method