for loops eliminated