Removed a not needed loop