Removed all instanced of for in loops. Not really sure why I used them in the first place. All instances are now standard for loops.