Delete unnecessary parts in main.c file