memory managment first commit