removing datastructure