addition of main.c