added memory statistics