added memory stats