loops added