various memory changes