I ve got small bug in here.
It took me 2 second to find out why is my code suddenly broken but anyway its not nice to have this kind of small bugs.
In this situation if you try to insert brackets after for loop it inserts em under the var into the string
Hope its clear
Have a nice day