allow one arg, and print for xor and cp