Yeah im just going to clean it up and get the bigger numbers to work. Like you had x set to a number that you wanted to. I got the length of the number and use it as the x you did and it works fine. Im just cleaning everything up and remove the globals, but thank you again for the help.