main.c is added some function