The gist of my post was that i think $rand should be able to do both number and latters, not one or the other, perhaps v1 and v2 could be ascii numbers, so that a whole charactor set can be used? The other stuff i guess is probably better scripted.