Add "var" in for loop