delete datastructure