add names() to main_funcC()