create main_cc()