adds deletions to unneeded code