ClearMem added