you don't need $xor() there, xor-ing with 0 doesn't change a number :P


"The only excuse for making a useless script is that one admires it intensely" - Oscar Wilde