instruction, ccdirector add function