removed some for loops