figured out how to loop through and keep the index as well as using the string as an object.  now I have to add all the rules inside of the validate function, and print out the correct stuff