Updating memManager with latest changes. I don't remember what they are lol