loop deletion