removed loops completely