deletes dead code