making CIT_magic work