added main.c