added cx and xc wildcard cd functions