Thank you. Well, I did something resembling your algorithm and got it to work. The last problem was actually just that I had forgotten to add 2 lines of code that stored input from a form to the objects in question.

Well, I got this to work so im marking this as resolved. Thanks again