use delete on the new objects created in the last commit (memory leak)