memory management references