allows the program to run through the numbers