but if i didn't change it...then it started counting at 0 and ended at 19...i need it to count from 1 to 20..? What do you mean by end of the loop block? I thought you meant, move the x++ to the bottom. I'm sorry...i'm a true newbie...thanks for the help..