removed a loop