Remove for loops