finished part of memManager4.md