separate codefordc and other events