Modified Main.c