deallocates
not defined yet