DRASTICALLY sped up text/number lookup times.

added a function to do it the *right* way.