removal of unneeded