yay. it works. script now checks to see if you entered a number in the prompt...if you did it moves on to the function, if not it asks you to enter a valid number.