added back modify and insert. cleared with valgrind