added analysis and memory access stats