newest update with trying to get the program to run for all inputs.