fixing some indentation for for loops