Change "$1" to "$i"