garbage collection for objects and arrays
almost done with garbage collection start