removed loops