commented out flag stats due to memory usage crash