memory management improvement.