need update main.c