the comparisons are all numeric..
but thanks anyways..
I figured it out my brothers... I just initialized the table in the function, then did the comparisons in the main part of the script.
that did the trick.
thanks again... and if anyone does have any other suggestions on how to improve any of the code.. please feel free, I'm always willing to learn and listen.