removed var and put i = 1, i++