main.c creation