Add var to the for loop