Merged main.c