+added some more mem management stuff