note that the 'i' will be used after the for loop, so can't be put into the parenthesis.