deletes unused code